package mylab.javainterface;

public class SheepCow {
	
	public static void main(String args[])
	{
		Animal[] anls = new Animal[3];
		
		anls[0] = new Cow("Mark");
		anls[1] = new Sheep("Ann");
		anls[2] = new Cow("Jessica");
		
		for(int i=0; i< anls.length; i++)
			anls[i].speak();
	}
	

}
